home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000217-20000824
/
000092_news@columbia.edu _Sat Mar 4 14:42:38 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA08052
for <kermit.misc@watsun.cc.columbia.edu>; Sat, 4 Mar 2000 14:42:37 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA21138
for kermit.misc@watsun.cc.columbia.edu; Sat, 4 Mar 2000 14:31:38 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: jmccanta@immunex.com (Jay McCanta)
Subject: Re: bug with Echo on Solaris
Message-ID: <38c15efa.2305895@jayathome>
Date: Sat, 04 Mar 2000 19:29:55 GMT
To: kermit.misc@columbia.edu
On Sat, 04 Mar 2000 00:04:32 -0800, Jay McCanta <jmccanta@Immuenx.com>
wrote:
I believe this is an UNIX buffering issue. With this script...
set input echo on
echo 1
echo 2
set host ts:3000
echo 3
input -1 {bye}
echo 4
exit
Looking at the log during the INPUT command, line 3 is not there.
While waiting for {bye} in thee input stream, the input stream appears
in the log. Only after the script exits, do the 3 and the 4 appear in
the log.
Is there a way to flush the log after every echo?
>I believe this is a bug. I'm looking for workarounds / fixes /
>corrections.
>
>With a script file, like this...
>
>echo {line one}
>echo {line two}
>set host ts:3000
>echo {line three}
>exit
>
> ... I get different results.
>
>When run from a shell (kermit + fred.ksc), all echo's are shown.
>
>When run with output redirected (kermit + fred.ksc >fred.lis) all
>echo's are shown.
>
>When run with detached and with output redirected
>(kermit + fred.ksc >fred.lis &), echos stop after the "SET HOST"
>command.
>
>Bug? Workaround? No, that's what's supposed to happen?
>
>Jay McCanta
>Immunex Corporation
-------------------------------------------------------
Jay McCanta
jmccanta at gte dot net
I used to hate SPAM and wished someone would do something about it,
then I heard our state legislature was going to do something. Now
I am scared. There are worse things in life than SPAM.